<!DOCTYPE html>
<html>
  <body onload="document.querySelector('textarea').style.overflow='hidden'">
    <textarea rows="2">
      this
      is
      a
      textarea
      with
      overflow
    </textarea>
  </body>
</html>
